package com.bit.demo.Controller;

import com.bit.demo.Service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class UserController {

    @Autowired
    private UserService userService;
    public void sayHello() {
        System.out.println("hello world......");
        userService.sayHello();
    }
}
